<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title><?=(isset($title) ? Html::chars($title) : '')?></title>
	<meta name="keywords" content="<?=(isset($keywords) ? $keywords : '')?>" />
	<meta name="description" content="<?=(isset($description) ? $description : '')?>" />
	<meta name="robots" content="index, follow" />
	<?php
		if (isset($meta)) foreach ($meta as $i) {
			echo '<meta' . Html::attributes($i) . ' />'."\n";
		}
	?>
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link href="/styles/style.css" rel="stylesheet" type="text/css" />
	<link href="/styles/website.css" rel="stylesheet" type="text/css" />

	<?php
		if (isset($link)) foreach ($link as $i) {
			echo '<link' . Html::attributes($i) . ' />'."\n";
		}
	?>
	<script type="text/javascript" src="/scripts/jquery/jquery-1.7.2.min.js"></script>
<!--    <script type="text/javascript" src="/scripts/jquerytools.js"></script>-->
<!--	<script type="text/javascript" src="/scripts/jquery/png-fix.js"></script>-->
    <script type="text/javascript" src="/scripts/website.js"></script>

	<?php
		/*
		<script type="text/javascript" src="/scripts/swfobject.js"></script>
		<script type="text/javascript">
			swfobject.embedSWF("/flash/preloader.swf", "flashcontent", "100%", "100%", "9.0.0");
		</script>
		*/
	?>
	<?if (isset($scripts)) foreach ($scripts as $script) :?>
		<script type="text/javascript" src="<?=Url::site($script)?>"></script>
	<?endforeach?>
</head>
<body>
    <div class="main_container">
        <div class="site">
            <div class="content">
                <?php echo (!empty ($content)) ? $content :'';?>
            </div>
        </div>
    </div>
</body>
</html>
